package com.lxw.hi_mvp_mvvm.scene1_mvp;

/**
 * @authour
 * @function
 * @date 2021/4/16
 */
public class BasePresenter<IView extends BaseView> {
    protected IView view;

    //完成p层 和 view层绑定
    public void attach(IView view) {
        this.view = view;
    }

    public void detach() {
        view = null;
    }
} 
